﻿﻿//======================================================================
//
//        Copyright : Zhengzhou Strawberry Computer Technology Co.,LTD.
//        All rights reserved
//        
//        Application:NFinal MVC framework
//        Filename :IndexController.cs
//        Description :首页控制器
//
//        created by Lucas at  2015-6-30`
//     
//        WebSite:http://www.nfinal.com
//
//======================================================================
using System;
using System.Collections.Generic;
using System.Web;
namespace BlackHtml5.WebSite.Web.Default.IndexController
{
    public class IndexAction  : Controller
	{
		public IndexAction(System.IO.TextWriter tw):base(tw){}
		public IndexAction(string fileName) : base(fileName) {}
		public IndexAction(HttpContext context):base(context){}
		public IndexAction(Microsoft.Owin.IOwinContext context):base(context){}
        public class __Index_articleNews__:NFinal.Struct
		{
			public System.Int64 id;
			public System.Int64? channel_id;
			public System.Int64? category_id;
			public System.String title;
			public System.String link_url;
			public System.String img_url;
			public System.String seo_title;
			public System.String seo_description;
			public System.String tags;
			public System.String zhaiyao;
			public System.String content;
			public System.Int64? sort_id;
			public System.Int64? click;
			public System.Int64? status;
			public System.Int16? is_msg;
			public System.Int16? is_top;
			public System.Int16? is_red;
			public System.Int16? is_hot;
			public System.Int16? is_slide;
			public System.Int16? is_sys;
			public System.String user_name;
			public System.DateTime? add_time;
			public System.DateTime? update_time;
			public System.Int64? user_id;
			#region 写Json字符串
			public override void WriteJson(System.IO.TextWriter tw)
			{
				tw.Write("{");
						tw.Write("\"id\":");
						tw.Write(id.ToString());
						tw.Write(",");
						tw.Write("\"channel_id\":");
						tw.Write(channel_id==null?"null" : channel_id.ToString());
						tw.Write(",");
						tw.Write("\"category_id\":");
						tw.Write(category_id==null?"null" : category_id.ToString());
						tw.Write(",");
						tw.Write("\"title\":");
						if(title==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(title);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"link_url\":");
						if(link_url==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(link_url);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"img_url\":");
						if(img_url==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(img_url);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"seo_title\":");
						if(seo_title==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(seo_title);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"seo_description\":");
						if(seo_description==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(seo_description);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"tags\":");
						if(tags==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(tags);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"zhaiyao\":");
						if(zhaiyao==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(zhaiyao);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"content\":");
						if(content==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(content);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"sort_id\":");
						tw.Write(sort_id==null?"null" : sort_id.ToString());
						tw.Write(",");
						tw.Write("\"click\":");
						tw.Write(click==null?"null" : click.ToString());
						tw.Write(",");
						tw.Write("\"status\":");
						tw.Write(status==null?"null" : status.ToString());
						tw.Write(",");
						tw.Write("\"is_msg\":");
						tw.Write(is_msg==null?"null" : is_msg.ToString());
						tw.Write(",");
						tw.Write("\"is_top\":");
						tw.Write(is_top==null?"null" : is_top.ToString());
						tw.Write(",");
						tw.Write("\"is_red\":");
						tw.Write(is_red==null?"null" : is_red.ToString());
						tw.Write(",");
						tw.Write("\"is_hot\":");
						tw.Write(is_hot==null?"null" : is_hot.ToString());
						tw.Write(",");
						tw.Write("\"is_slide\":");
						tw.Write(is_slide==null?"null" : is_slide.ToString());
						tw.Write(",");
						tw.Write("\"is_sys\":");
						tw.Write(is_sys==null?"null" : is_sys.ToString());
						tw.Write(",");
						tw.Write("\"user_name\":");
						if(user_name==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(user_name);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"add_time\":");
						if(add_time==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(add_time.ToString());
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"update_time\":");
						if(update_time==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(update_time.ToString());
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"user_id\":");
						tw.Write(user_id==null?"null" : user_id.ToString());
				tw.Write("}");
			}
			#endregion
		}
		public class __Index_articleCase__:NFinal.Struct
		{
			public System.Int64 id;
			public System.Int64? channel_id;
			public System.Int64? category_id;
			public System.String title;
			public System.String link_url;
			public System.String img_url;
			public System.String seo_title;
			public System.String seo_description;
			public System.String tags;
			public System.String zhaiyao;
			public System.String content;
			public System.Int64? sort_id;
			public System.Int64? click;
			public System.Int64? status;
			public System.Int16? is_msg;
			public System.Int16? is_top;
			public System.Int16? is_red;
			public System.Int16? is_hot;
			public System.Int16? is_slide;
			public System.Int16? is_sys;
			public System.String user_name;
			public System.DateTime? add_time;
			public System.DateTime? update_time;
			public System.Int64? user_id;
			#region 写Json字符串
			public override void WriteJson(System.IO.TextWriter tw)
			{
				tw.Write("{");
						tw.Write("\"id\":");
						tw.Write(id.ToString());
						tw.Write(",");
						tw.Write("\"channel_id\":");
						tw.Write(channel_id==null?"null" : channel_id.ToString());
						tw.Write(",");
						tw.Write("\"category_id\":");
						tw.Write(category_id==null?"null" : category_id.ToString());
						tw.Write(",");
						tw.Write("\"title\":");
						if(title==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(title);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"link_url\":");
						if(link_url==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(link_url);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"img_url\":");
						if(img_url==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(img_url);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"seo_title\":");
						if(seo_title==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(seo_title);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"seo_description\":");
						if(seo_description==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(seo_description);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"tags\":");
						if(tags==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(tags);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"zhaiyao\":");
						if(zhaiyao==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(zhaiyao);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"content\":");
						if(content==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(content);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"sort_id\":");
						tw.Write(sort_id==null?"null" : sort_id.ToString());
						tw.Write(",");
						tw.Write("\"click\":");
						tw.Write(click==null?"null" : click.ToString());
						tw.Write(",");
						tw.Write("\"status\":");
						tw.Write(status==null?"null" : status.ToString());
						tw.Write(",");
						tw.Write("\"is_msg\":");
						tw.Write(is_msg==null?"null" : is_msg.ToString());
						tw.Write(",");
						tw.Write("\"is_top\":");
						tw.Write(is_top==null?"null" : is_top.ToString());
						tw.Write(",");
						tw.Write("\"is_red\":");
						tw.Write(is_red==null?"null" : is_red.ToString());
						tw.Write(",");
						tw.Write("\"is_hot\":");
						tw.Write(is_hot==null?"null" : is_hot.ToString());
						tw.Write(",");
						tw.Write("\"is_slide\":");
						tw.Write(is_slide==null?"null" : is_slide.ToString());
						tw.Write(",");
						tw.Write("\"is_sys\":");
						tw.Write(is_sys==null?"null" : is_sys.ToString());
						tw.Write(",");
						tw.Write("\"user_name\":");
						if(user_name==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(user_name);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"add_time\":");
						if(add_time==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(add_time.ToString());
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"update_time\":");
						if(update_time==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(update_time.ToString());
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"user_id\":");
						tw.Write(user_id==null?"null" : user_id.ToString());
				tw.Write("}");
			}
			#endregion
		}
		public void Index()
        {
            var con = new System.Data.SQLite.SQLiteConnection(NFinal.Config.ConfigurationManager.ConnectionStrings["Common"].ConnectionString);
			con.Open();
            Dictionary<string, string> global = GetGlobal(con);
            #region	var articleNews; 随机选取前N行
			var articleNews = new NFinal.List<__Index_articleNews__>();
			var __Index_articleNews_command__ = new System.Data.SQLite.SQLiteCommand(string.Format("select * from article where category_id=1 Limit {0}",5), con);
			var __Index_articleNews_reader__= __Index_articleNews_command__.ExecuteReader();
			if (__Index_articleNews_reader__.HasRows)
			{
				while (__Index_articleNews_reader__.Read())
				{
					var __Index_articleNews_temp__ = new __Index_articleNews__();
					__Index_articleNews_temp__.id = __Index_articleNews_reader__.GetInt64(0);
					if(!__Index_articleNews_reader__.IsDBNull(1)){__Index_articleNews_temp__.channel_id = __Index_articleNews_reader__.GetInt64(1);}
					if(!__Index_articleNews_reader__.IsDBNull(2)){__Index_articleNews_temp__.category_id = __Index_articleNews_reader__.GetInt64(2);}
					__Index_articleNews_temp__.title =__Index_articleNews_reader__.IsDBNull(3)?null: __Index_articleNews_reader__.GetString(3);
					__Index_articleNews_temp__.link_url =__Index_articleNews_reader__.IsDBNull(4)?null: __Index_articleNews_reader__.GetString(4);
					__Index_articleNews_temp__.img_url =__Index_articleNews_reader__.IsDBNull(5)?null: __Index_articleNews_reader__.GetString(5);
					__Index_articleNews_temp__.seo_title =__Index_articleNews_reader__.IsDBNull(6)?null: __Index_articleNews_reader__.GetString(6);
					__Index_articleNews_temp__.seo_description =__Index_articleNews_reader__.IsDBNull(7)?null: __Index_articleNews_reader__.GetString(7);
					__Index_articleNews_temp__.tags =__Index_articleNews_reader__.IsDBNull(8)?null: __Index_articleNews_reader__.GetString(8);
					__Index_articleNews_temp__.zhaiyao =__Index_articleNews_reader__.IsDBNull(9)?null: __Index_articleNews_reader__.GetString(9);
					__Index_articleNews_temp__.content =__Index_articleNews_reader__.IsDBNull(10)?null: __Index_articleNews_reader__.GetString(10);
					if(!__Index_articleNews_reader__.IsDBNull(11)){__Index_articleNews_temp__.sort_id = __Index_articleNews_reader__.GetInt64(11);}
					if(!__Index_articleNews_reader__.IsDBNull(12)){__Index_articleNews_temp__.click = __Index_articleNews_reader__.GetInt64(12);}
					if(!__Index_articleNews_reader__.IsDBNull(13)){__Index_articleNews_temp__.status = __Index_articleNews_reader__.GetInt64(13);}
					if(!__Index_articleNews_reader__.IsDBNull(14)){__Index_articleNews_temp__.is_msg = __Index_articleNews_reader__.GetInt16(14);}
					if(!__Index_articleNews_reader__.IsDBNull(15)){__Index_articleNews_temp__.is_top = __Index_articleNews_reader__.GetInt16(15);}
					if(!__Index_articleNews_reader__.IsDBNull(16)){__Index_articleNews_temp__.is_red = __Index_articleNews_reader__.GetInt16(16);}
					if(!__Index_articleNews_reader__.IsDBNull(17)){__Index_articleNews_temp__.is_hot = __Index_articleNews_reader__.GetInt16(17);}
					if(!__Index_articleNews_reader__.IsDBNull(18)){__Index_articleNews_temp__.is_slide = __Index_articleNews_reader__.GetInt16(18);}
					if(!__Index_articleNews_reader__.IsDBNull(19)){__Index_articleNews_temp__.is_sys = __Index_articleNews_reader__.GetInt16(19);}
					__Index_articleNews_temp__.user_name =__Index_articleNews_reader__.IsDBNull(20)?null: __Index_articleNews_reader__.GetString(20);
					if(!__Index_articleNews_reader__.IsDBNull(21)){__Index_articleNews_temp__.add_time = __Index_articleNews_reader__.GetDateTime(21);}
					if(!__Index_articleNews_reader__.IsDBNull(22)){__Index_articleNews_temp__.update_time = __Index_articleNews_reader__.GetDateTime(22);}
					if(!__Index_articleNews_reader__.IsDBNull(23)){__Index_articleNews_temp__.user_id = __Index_articleNews_reader__.GetInt64(23);}
					articleNews.Add(__Index_articleNews_temp__);
				}
			}
			__Index_articleNews_reader__.Dispose();
			__Index_articleNews_command__.Dispose();
			#endregion
			
            #region	var articleCase; 随机选取前N行
			var articleCase = new NFinal.List<__Index_articleCase__>();
			var __Index_articleCase_command__ = new System.Data.SQLite.SQLiteCommand(string.Format("select * from article where category_id=2 Limit {0}",3), con);
			var __Index_articleCase_reader__= __Index_articleCase_command__.ExecuteReader();
			if (__Index_articleCase_reader__.HasRows)
			{
				while (__Index_articleCase_reader__.Read())
				{
					var __Index_articleCase_temp__ = new __Index_articleCase__();
					__Index_articleCase_temp__.id = __Index_articleCase_reader__.GetInt64(0);
					if(!__Index_articleCase_reader__.IsDBNull(1)){__Index_articleCase_temp__.channel_id = __Index_articleCase_reader__.GetInt64(1);}
					if(!__Index_articleCase_reader__.IsDBNull(2)){__Index_articleCase_temp__.category_id = __Index_articleCase_reader__.GetInt64(2);}
					__Index_articleCase_temp__.title =__Index_articleCase_reader__.IsDBNull(3)?null: __Index_articleCase_reader__.GetString(3);
					__Index_articleCase_temp__.link_url =__Index_articleCase_reader__.IsDBNull(4)?null: __Index_articleCase_reader__.GetString(4);
					__Index_articleCase_temp__.img_url =__Index_articleCase_reader__.IsDBNull(5)?null: __Index_articleCase_reader__.GetString(5);
					__Index_articleCase_temp__.seo_title =__Index_articleCase_reader__.IsDBNull(6)?null: __Index_articleCase_reader__.GetString(6);
					__Index_articleCase_temp__.seo_description =__Index_articleCase_reader__.IsDBNull(7)?null: __Index_articleCase_reader__.GetString(7);
					__Index_articleCase_temp__.tags =__Index_articleCase_reader__.IsDBNull(8)?null: __Index_articleCase_reader__.GetString(8);
					__Index_articleCase_temp__.zhaiyao =__Index_articleCase_reader__.IsDBNull(9)?null: __Index_articleCase_reader__.GetString(9);
					__Index_articleCase_temp__.content =__Index_articleCase_reader__.IsDBNull(10)?null: __Index_articleCase_reader__.GetString(10);
					if(!__Index_articleCase_reader__.IsDBNull(11)){__Index_articleCase_temp__.sort_id = __Index_articleCase_reader__.GetInt64(11);}
					if(!__Index_articleCase_reader__.IsDBNull(12)){__Index_articleCase_temp__.click = __Index_articleCase_reader__.GetInt64(12);}
					if(!__Index_articleCase_reader__.IsDBNull(13)){__Index_articleCase_temp__.status = __Index_articleCase_reader__.GetInt64(13);}
					if(!__Index_articleCase_reader__.IsDBNull(14)){__Index_articleCase_temp__.is_msg = __Index_articleCase_reader__.GetInt16(14);}
					if(!__Index_articleCase_reader__.IsDBNull(15)){__Index_articleCase_temp__.is_top = __Index_articleCase_reader__.GetInt16(15);}
					if(!__Index_articleCase_reader__.IsDBNull(16)){__Index_articleCase_temp__.is_red = __Index_articleCase_reader__.GetInt16(16);}
					if(!__Index_articleCase_reader__.IsDBNull(17)){__Index_articleCase_temp__.is_hot = __Index_articleCase_reader__.GetInt16(17);}
					if(!__Index_articleCase_reader__.IsDBNull(18)){__Index_articleCase_temp__.is_slide = __Index_articleCase_reader__.GetInt16(18);}
					if(!__Index_articleCase_reader__.IsDBNull(19)){__Index_articleCase_temp__.is_sys = __Index_articleCase_reader__.GetInt16(19);}
					__Index_articleCase_temp__.user_name =__Index_articleCase_reader__.IsDBNull(20)?null: __Index_articleCase_reader__.GetString(20);
					if(!__Index_articleCase_reader__.IsDBNull(21)){__Index_articleCase_temp__.add_time = __Index_articleCase_reader__.GetDateTime(21);}
					if(!__Index_articleCase_reader__.IsDBNull(22)){__Index_articleCase_temp__.update_time = __Index_articleCase_reader__.GetDateTime(22);}
					if(!__Index_articleCase_reader__.IsDBNull(23)){__Index_articleCase_temp__.user_id = __Index_articleCase_reader__.GetInt64(23);}
					articleCase.Add(__Index_articleCase_temp__);
				}
			}
			__Index_articleCase_reader__.Dispose();
			__Index_articleCase_command__.Dispose();
			#endregion
			
            con.Close();
            
			Write("﻿");
			Write("\r\n\r\n<!DOCTYPE html>\r\n<html lang=\"zh-cn\">\r\n<head>\r\n\t<meta charset=\"UTF-8\" />\r\n\t<title>");
			Write(global["cfg_webname"]);
			Write("</title>\r\n    <meta name=\"keywords\" content=\">");
			Write(global["cfg_keywords"]);
			Write("\" />\r\n    <meta name=\"description\" content=\"");
			Write(global["cfg_description"]);
			Write("\" />\r\n    <meta name=\"viewport\" content=\"width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no\" />\r\n    <meta name=\"copyright\" content=\"Copyright dedecms51.com 版权所有\" />\r\n    <link href=\"/WebSite/Content/BlackHtml5/css/bootstrap.min.css\" rel=\"stylesheet\" />\r\n    \r\n    <link href=\"/WebSite/Content/BlackHtml5/css/index.min.css\" rel=\"stylesheet\" />\r\n    <!--[if lt IE 9]>\r\n    <script src=\"/WebSite/Content/BlackHtml5/js/html5shiv.min.js\"></script>\r\n    <![endif]-->\r\n    <script src=\"/WebSite/Content/BlackHtml5/js/jquery.min.js\"></script>\r\n    <script src=\"/WebSite/Content/BlackHtml5/js/index.min.js\"></script>\r\n</head>\r\n\r\n<body>\r\n    <header>\r\n        <div class=\"logo\">\r\n          <img src=\"/WebSite/Content/BlackHtml5/images/logo.png\" alt=\"");
			Write(global["cfg_webname"]);
			Write("\" class=\"img-responsive\" />\r\n        </div>\r\n        <strong class=\"words\">专注高端网站建设</strong>\r\n        <nav class=\"menu\">\r\n          <ul class=\"list-inline\">\r\n            <li class=\"active\"><a>首页</a></li>\r\n            <li><a>业务</a></li>\r\n            <li><a>案例</a></li>\r\n            <li><a>客户</a></li>\r\n            <li><a>品质</a></li>\r\n            <li><a>增值</a></li>\r\n            <li><a>关于</a></li>\r\n            <li><a>联系</a></li>\r\n          </ul>\r\n        </nav>\r\n        <div class=\"hotline\">\r\n          <a href=\"tel:");
			Write(global["tell"]);
			Write("\" title=\"网站建设免费咨询热线\"><span>");
			Write(global["tell"]);
			Write("</span></a><u></u>\r\n        </div>\r\n        <div class=\"menu-icon\">\r\n  \t\t\t<a href=\"tel:");
			Write(global["tell"]);
			Write("\" title=\"点击直拨网站建设热线\"><span class=\"glyphicon glyphicon-earphone\"></span></a>\r\n            <span class=\"glyphicon glyphicon-th-large\"></span>\r\n        </div>\r\n    </header>\r\n    \r\n    <div class=\"welcome\"><p><u>Loading . . .</u></p></div>\r\n    \r\n    <section class=\"video\">\r\n    \t<div class=\"swiper-container\">\r\n            <div class=\"swiper-wrapper\">\r\n              <div class=\"swiper-slide nth1\">\r\n                <div class=\"box\">\r\n                  <div class=\"left\"></div>\r\n                  <div class=\"right\">\r\n                \t<span>年专注，网站建设</span><i></i>\r\n                    <p>始于 2008 - 2015 展望未来<br />专注于设计体验，专业于解决方案</p>\r\n                  </div>\r\n                </div>\r\n              </div>\r\n              <div class=\"swiper-slide nth2\">\r\n              \t<div class=\"box\">\r\n                \t<span>设计控，也醉了</span><i></i>\r\n                    <p>不是非要高大上，只是醉心于设计<br />我们想，再上一个好案例</p>\r\n                </div>\r\n              </div>\r\n              <div class=\"swiper-slide nth3\">\r\n              \t<div class=\"box\">\r\n                  <div class=\"top\">技术派，论研发</div>\r\n                  <div class=\"mid\"></div>\r\n                  <div class=\"bottom\">我说，业界没有最好的技术，只有最棒的技术开发者<br />定制研发，为您的客户和团队</div>\r\n                </div>\r\n              </div>\r\n              <div class=\"swiper-slide nth4\">\r\n              \t<div class=\"box\">\r\n                  <div class=\"top\"><span>先入为主，布局未来</span><i></i></div>\r\n                  <div class=\"bottom\">全面布局<u>PC</u>端与<u>移动</u>端<br />抢占头等商机<br />基于<u>Html5</u>响应式布局，智能识别多种终端设备</div>\r\n                </div>\r\n              </div>\r\n            </div>\r\n        </div>\r\n        <div class=\"innerBox\">\r\n        \t<div class=\"news\">\r\n            \t<span>NEWS :</span>\r\n                <a href=\"/a/news/\" title=\"更多文章动态\" class=\"more\" target=\"_blank\">more</a>\r\n                <ul>\r\n");
			var news= articleNews.GetEnumerator(); while(news.MoveNext()){
				Write("\r\n                        <li><a href=\"");
				Write(news.Current.link_url);
				Write("\" target=\"_blank\" title=\"");
				Write(news.Current.title);
				Write("\">");
				Write(news.Current.title);
				Write("...</a></li>\r\n");
			}
			Write("\r\n                </ul>\r\n            </div>\r\n            <div class=\"guide\"></div>\r\n            <a class=\"movedown\"></a>\r\n        </div>\r\n    </section>\r\n    \r\n    <section class=\"business\">\r\n      <div class=\"box\">\r\n        <div class=\"caption\">\r\n        \t<i></i><span>我们能做什么</span>\r\n            <br class=\"clear\" />\r\n        </div>\r\n        <ul class=\"items list-inline\">\r\n        \t<li class=\"pc\">\r\n            \t<i></i><strong>高端定制网站</strong>\r\n                <p>企业高端定制网站设计<br />彰显品牌形象</p>\r\n            </li>\r\n            <li class=\"mobi\">\r\n            \t<i></i><strong>移动网站建设</strong>\r\n                <p>定制手机网站 / 微网站制作<br />布局移动互联网</p>\r\n            </li>\r\n            <li class=\"sys\">\r\n            \t<i></i><strong>业务系统研发</strong>\r\n                <p>基于 B/S 架构的系统研发<br />让业务办公轻松自如</p>\r\n            </li>\r\n            <li class=\"app\">\r\n            \t<i></i><strong>APP应用程序</strong>\r\n                <p>基于 iOS / Android 应用开发<br />掌控智能终端时代</p>\r\n            </li>\r\n            <li class=\"host\">\r\n            \t<i></i><strong>服务器运维</strong>\r\n                <p>我们不只提供云硬件和网络<br />更加注重技术运维</p>\r\n            </li>\r\n        </ul>\r\n      </div>\r\n    </section>\r\n    \r\n    <section class=\"cases\">\r\n      <div class=\"box\">\r\n    \t<div class=\"caption\">\r\n        \t<i></i><span>案例欣赏</span>\r\n            <br class=\"clear\" />\r\n        </div>\r\n        <div class=\"swiper-container items\">\r\n           <div class=\"swiper-wrapper\">\r\n");
			var ca= articleCase.GetEnumerator(); while(ca.MoveNext()){
				Write("\r\n                   <div class=\"swiper-slide\">\r\n                    <a href=\"");
				Write(ca.Current.link_url);
				Write("\" target=\"_blank\">\r\n                    <img src=\"");
				Write(ca.Current.img_url);
				Write("\" alt=\"");
				Write(ca.Current.title);
				Write("\" />\r\n                    <p>网站设计<br /><strong>");
				Write(ca.Current.title);
				Write("</strong><br /></p></a>\r\n                  </div>\r\n");
			}
			Write("\r\n           </div>\r\n        </div>\r\n        <a href=\"/a/cases/\" title=\"欣赏更多网站建设案例\" class=\"more\" target=\"_blank\">MORE</a>\r\n      </div>\r\n    </section>\r\n    \r\n    <section class=\"clients\">\r\n   \t  <div class=\"box\">\r\n    \t<div class=\"caption\">\r\n        \t<i></i><span>他们与织梦长期合作</span>\r\n            <br class=\"clear\" />\r\n        </div>\r\n        <ul class=\"items list-inline\">\r\n        \t<li class=\"cctv\"><span>CCTV影响力视频网站建设</span></li>\r\n            <li class=\"unicom\"><span>中国联通电信卡网站制作</span></li>\r\n            <li class=\"tsinghua\"><span>清华大学国际预科学院网站建设</span></li>\r\n            <li class=\"cas\"><span>中科院力学研究所网站设计</span></li>\r\n            <li class=\"sipo\"><span>国家知识产权局网站建设</span></li>\r\n            <li class=\"apple\"><span>中航苹果官方网站设计</span></li>\r\n            <li class=\"das\"><span>一汽大众汽车门户网站建设</span></li>\r\n            <li class=\"hunantv\"><span>湖南卫视全媒体网站建设</span></li>\r\n            <li class=\"sino\"><span>中环球船务官方网站制作</span></li>\r\n            <li class=\"report\"><span>中国报道信息门户网站建设</span></li>\r\n            <li class=\"gedu\"><span>环球雅思教育门户网站制作</span></li>\r\n            <li class=\"bgg\"><span>京粮集团网站建设</span></li>\r\n            <li class=\"bsec\"><span>北赛电工官方网站设计</span></li>\r\n            <li class=\"huadan\"><span>华丹乳业官方网站建设</span></li>\r\n            <li class=\"zd\"><span>中东集团网站制作</span></li>\r\n        </ul>\r\n      </div>\r\n    </section>\r\n    \r\n    <section class=\"quality\">\r\n      <div class=\"box\">\r\n    \t<div class=\"caption\">\r\n        \t<i></i><span>不同媒介，同样精彩</span>\r\n            <br class=\"clear\" />\r\n        </div>\r\n        <div class=\"swiper-container items\">\r\n            <div class=\"swiper-wrapper\">\r\n              <div class=\"swiper-slide nth1\">\r\n                <ul class=\"list-inline\">\r\n                  <li class=\"mobi\"><span>响应式手机网站建设</span></li><li class=\"pad\"><span>响应式平板网站建设</span></li><li class=\"pc\"><span>响应式PC网站建设</span></li>\r\n                </ul>\r\n                <p>触及视觉灵魂的设计趋势<br />精心布局的用户体验<br />毫无顾忌地通过任何终端<br />呈现在客户的眼前</p>\r\n              </div>\r\n              <div class=\"swiper-slide nth2\">\r\n              \t<ul class=\"list-inline\">\r\n                  <li class=\"ie\"><span>兼容微软IE浏览器的网页设计</span></li><li class=\"chrome\"><span>兼容谷歌Chrome浏览器的网站设计</span></li><li class=\"firefox\"><span>兼容火狐Firefox浏览器的网页设计</span></li><li class=\"safari\"><span>兼容苹果Safari浏览器的网站设计</span></li>\r\n                </ul>\r\n                <p>Html5 + CSS3 响应式布局<br />卓越的浏览器兼容性<br />因为高端，所以出众</p>\r\n              </div>\r\n              <div class=\"swiper-slide nth3\">\r\n              \t<ul class=\"list-inline\">\r\n                  <li class=\"windows\"><span>跨windows平台网站制作</span></li><li class=\"ios\"><span>跨ios平台网站制作</span></li><li class=\"andriod\"><span>跨andriod平台网站制作</span></li>\r\n                </ul>\r\n                <p>基于 B/S 架构的网站建设<br />无障碍的跨平台应用<br />无须用户下载安装即可使用<br />云端管理，轻松维护</p>\r\n              </div>\r\n            </div>\r\n        </div>\r\n        <a href=\"http://www.dedecms51.com\" class=\"lookall\" target=\"_blank\">你以为看到了网站的全部？</a>\r\n      </div>\r\n    </section>\r\n    \r\n    <section class=\"marketing\">\r\n      <div class=\"box\">\r\n        <div class=\"caption\">\r\n        \t<i></i><span>整合营销，抢占商机</span>\r\n            <br class=\"clear\" />\r\n        </div>\r\n        <ul class=\"items list-inline\">\r\n        \t<li class=\"se\">\r\n            \t<i></i><strong>搜索引擎</strong>\r\n                <p>SEO 优化<br />搜索引擎竞价</p>\r\n            </li>\r\n            <li class=\"weixin\">\r\n            \t<i></i><strong>微信营销</strong>\r\n                <p>公众账号 / 微网站<br />微盟 ( 微社区 )</p>\r\n            </li>\r\n            <li class=\"weibo\">\r\n            \t<i></i><strong>微博营销</strong>\r\n                <p>企业蓝V认证<br />官方微博接入网站</p>\r\n            </li>\r\n            <li class=\"sms\">\r\n            \t<i></i><strong>消息推送</strong>\r\n                <p>短信平台接口<br />Email 推送</p>\r\n            </li>\r\n            <li class=\"pay\">\r\n            \t<i></i><strong>在线支付</strong>\r\n                <p>支付宝、银联<br />Paypal 接口</p>\r\n            </li>\r\n            <li class=\"bbs\">\r\n            \t<i></i><strong>论坛聚人</strong>\r\n                <p>独立开发<br />会员打通</p>\r\n            </li>\r\n        </ul>\r\n      </div>\r\n    </section>\r\n    \r\n    <section class=\"aboutus\">\r\n    \t<ul class=\"menu\"><li>思想</li><li>关于</li><li>荣誉</li></ul>\r\n        <div class=\"swiper-container items\">\r\n            <div class=\"swiper-wrapper\">\r\n              <div class=\"swiper-slide nth1\">\r\n                <strong>厚积薄发</strong>\r\n                <p>登上峰顶，不是为了饱览风光，是为了寻找更高的山峰<br />日出东方，告别了昨天的荣耀，将光芒照向更远的地方<br />一路上，我们更在意如何积累和沉淀</p>\r\n                <u>下一秒，让你看，我们到底有多强</u>\r\n              </div>\r\n              <div class=\"swiper-slide nth2\">\r\n              \t<strong>织梦无忧论坛</strong>\r\n                <p>成立于2008年，坐落于郑州高新技术开发区，是中国优秀的互联网服务提供商。自成立以来，专注于高端网站建设、移动互联应用、B/S架构系统研发、云服务器部署和运维，为企业客户的互联网应用提供一站式服务。</p>\r\n                <p>我们始终坚持以客户需求为导向，为追求用户体验设计，提供有针对性的项目解决方案，织梦人将不断地超越自我，挑战险峰！</p>\r\n              </div>\r\n              <div class=\"swiper-slide nth3\">\r\n              \t<strong>放下荣誉，放眼未来</strong>\r\n                <ul>\r\n                  <li>2009年<u>-</u>荣获经开区创新企业</li>\r\n                  <li>2010年<u>-</u>设计联盟评选为金牌设计企业</li>\r\n                  <li>2010年<u>-</u>荣获经开区高新技术企业</li>\r\n                  <li>2011年<u>-</u>成功注册 \" 织梦 \" 商标，树立品牌</li>\r\n                  <li>2013年<u>-</u>已拥有自主知识产权，国家软件著作权达12项之多</li>\r\n                </ul>\r\n              </div>\r\n            </div>\r\n        </div>\r\n        <table class=\"exp\">\r\n        \t<tr>\r\n              <td><u>611</u>位企业客户信赖之选</td>\r\n              <td><u>267</u>上市/集团企业设计作品</td>\r\n              <td><u>2010</u>年度金牌设计企业</td>\r\n              <td><u>12</u>项国家软件著作权</td>\r\n              <td><u>96%</u>以上的客户续费率</td>\r\n            </tr>\r\n        </table>\r\n    </section>\r\n    \r\n    <section class=\"contact\">\r\n    \t<div class=\"box\">\r\n        \t<div class=\"above\">\r\n            \t<div class=\"wechat\"><img src=\"/WebSite/Content/BlackHtml5/images/wechat_code.jpg\" alt=\"扫描关注织梦微信公众账号\" /></div>\r\n                <div class=\"left\">\r\n                \t<a href=\"tel:");
			Write(global["tell"]);
			Write("\" title=\"网站制作咨询热线\" class=\"tel\"></a>\r\n                    <p>中国<u>·</u>山东<u></u>滕州碧水云天中央城<br />联系电话：");
			Write(global["tell"]);
			Write("<u>/</u>0632<br />地址：滕州市 龙泉街道 <br />邮编：274500<a href=\"/a/job/\" target=\"_blank\" class=\"job\">[ 工作机会 ]</a></p>\r\n                </div>\r\n                <div class=\"right\">\r\n                \tEmail：Service@dedecms51.com<br />中文域名：恩凡.中国<u>/</u>dedecms51.com<br />Copyright 2008-2015<u></u>织梦无忧论坛 版权所有<br />鲁ICP备 88888888 号<br />\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </section>\r\n");
			Write("\r\n<div class=\"dock\">\r\n    <ul class=\"icons\">\r\n        <li class=\"up\"><i></i></li>\r\n        <li class=\"tel\">\r\n            <i></i><p>建站咨询热线<br />{dede:global.tell/}</p>\r\n        </li>\r\n        <li class=\"im\">\r\n            <i></i><p><a href=\"http://wpa.qq.com/msgrd?v=3&uin={dede:global.qq/}&site=qq&menu=yes\" target=\"_blank\">点我，建站咨询</a></p>\r\n        </li>\r\n        <li class=\"wechat\">\r\n            <i></i><p><img src=\"/WebSite/Content/BlackHtml5/images/wechat_code.jpg\" alt=\"扫描关注网站建设微信公众账号\" /></p>\r\n        </li>\r\n        <li class=\"down\"><i></i></li>\r\n    </ul>\r\n    <a class=\"switch\"></a>\r\n</div>\r\n    \r\n<script>\r\n    var _hmt = _hmt || [];\r\n    (function() {\r\n        var hm = document.createElement(\"script\");\r\n        hm.src = \"//hm.baidu.com/hm.js?a821a161aa4214f5ff5b8ca372960ebb\";\r\n        var s = document.getElementsByTagName(\"script\")[0];\r\n        s.parentNode.insertBefore(hm, s);\r\n    })();\r\n</script>\r\n</body>\r\n</html>");
        }
    }
}